package org.dromara.platform.domain.vo;

import org.dromara.platform.domain.TMiniProgramBaseInfo;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * 小程序基础信息视图对象 t_mini_program_base_info
 *
 * @author Lion Li
 * @date 2025-06-04
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TMiniProgramBaseInfo.class)
public class TMiniProgramBaseInfoVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ExcelProperty(value = "ID")
    private Long id;

    /**
     * 企业id
     */
    @ExcelProperty(value = "企业id")
    private Long enterpriseId;

    /**
     * appid
     */
    @ExcelProperty(value = "appid")
    private String appid;

    /**
     * 小程序名称
     */
    @ExcelProperty(value = "小程序名称")
    private String nickName;

    /**
     * 简称
     */
    @ExcelProperty(value = "简称")
    private String shortName;

    /**
     * 头像地址
     */
    @ExcelProperty(value = "头像地址")
    private String headImageUrl;

    /**
     * 搜索状态（1：可搜索；0：不可搜索）
     */
    @ExcelProperty(value = "搜索状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "1=：可搜索；0：不可搜索")
    private Integer searchStatus;

    /**
     * 简介
     */
    @ExcelProperty(value = "简介")
    private String blurb;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态")
    private Integer status;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    // 是否存在类目
    private boolean hasCategory;
    // 域名id
    private Long ymId;
    //业务域名
    private String webViewDomain;
    //小程序表Id
    private Long qyId;
    //小程序认证ID
    private Long rzId;
}
